#ifndef USART_H
#define USART_H
#include "stm32f4xx.h"
extern u8 USART3_Receive[14],Receive_Close,Receive_Add;
extern float GP[3],GPS_Dif[3],GPS_XYZ[3];;
void Usart1_Init(uint32_t bound);
void Usart2_Init(uint32_t bound);
void Usart4_Init(uint32_t baudrate);
void Usart6_Init(uint32_t baudrate);

void Usart_SendByte( USART_TypeDef * pUSARTx, uint8_t ch);
void Usart_SendNByte(USART_TypeDef * pUSARTx,uint8_t *data,uint32_t size);
void vcan_sendware(uint8_t *wareaddr, uint32_t waresize);

#endif
